import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:lottie/lottie.dart';
import 'package:meiyunapp/generated/assets.dart';

class Loading extends StatelessWidget {
  const Loading({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(
      child: Container(
        child: Lottie.asset(
          Assets.lottieLoading,
          width: 320.w,
          height: 100.h,
          repeat: true,
          reverse: true,
          animate: true,
        ),
      ),
    );
  }
}
